package com.ruoyi.common.helper;

import lombok.AccessLevel;
import lombok.NoArgsConstructor;

/**
 * 数据库助手
 *
 * @author wlq
 */
@NoArgsConstructor(access = AccessLevel.PRIVATE)
public class DataBaseHelper {

    public static String findInSet(Object var1, String var2) {
        return "find_in_set('" + var1.toString() + "' , " + var2 + ") <> 0";
    }

    public static String notFindInSet(Object var1, String var2) {
        return "!find_in_set('" + var1.toString() + "' , " + var2 + ") <> 0";
    }
}
